package com.liusr.template.util;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Liusr
 * @date 2023/1/23
 * @package com.liusr.template.util
 * @Description: Url工具类
 */
public class UrlUtils {
	/**
	 * 获取请求地址
	 *
	 * @param request request
	 * @return String
	 */
	public static String getUrl(HttpServletRequest request) {
		return request.getServletPath();
	}
}
